﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using USMCdotNET;

namespace USMC.Net
{
    public struct PointParameters
    {
        public StartPRMSLine st1;
        public StartPRMSLine st2;
       
        public byte StepDivisor
        {
            get { return st1.Step; }
            set { st1.Step = value; st2.Step = value; }
        }
        public bool BacklashDirX
        {
            get { return st1.BacklashDir; }
            set { st1.BacklashDir = value; }
        }
        public bool AutoBacklash1
        {
            get { return st1.AutoBacklash; }
            set { st1.AutoBacklash = value; }
        }
        public bool SlowStart1
        {
            get { return st1.SlowStart;}
            set { st1.SlowStart = value; }
        }
        public bool WaitInputSync1
        {
            get { return st1.WaitInputSync; }
            set { st1.WaitInputSync = value; }
        }
        public bool OutSyncCounterRes1
        {
            get { return st1.OutSyncCounterRes; }
            set { st1.OutSyncCounterRes = value; }
        }
        public bool ForceLoft1
        {
            get { return st1.ForceLoft; }
            set { st1.ForceLoft = value; }
        }
        public bool BacklashDirY
        {
            get { return st2.BacklashDir; }
            set { st2.BacklashDir = value; }
        }
        public bool AutoBacklash2
        {
            get { return st2.AutoBacklash; }
            set { st2.AutoBacklash = value; }
        }
        public bool SlowStart2
        {
            get { return st2.SlowStart; }
            set { st2.SlowStart = value; }
        }
        public bool WaitInputSync2
        {
            get { return st2.WaitInputSync; }
            set { st2.WaitInputSync = value; }
        }
        public bool OutSyncCounterRes2
        {
            get { return st2.OutSyncCounterRes; }
            set { st2.OutSyncCounterRes = value; }
        }
        public bool ForceLoft2
        {
            get { return st2.ForceLoft; }
            set { st2.ForceLoft = value; }
        }
        public double StepX
        {
            get;
            set;
        }
        public double StepY
        {
            get;
            set;
        }
        public float Speed
        {
            get;
            set;
        }
        public int Pause
        {
            get;
            set;
        }
    }
    public struct RectangleParameters
    {
        public int Shift
        {
            get;
            set;
        }
        public bool Dir
        {
            get;
            set;
        }
    }
}
